#!/bin/sh
host=172.16.114.6
ip="rdsys.crscd.com.cn:"
docker run --detach \
    --hostname ${host} \
    --publish ${ip}9443:443 --publish ${ip}8040:80 --publish ${ip}8022:22 \
    --name gitlab \
    --restart always \
    --volume /srv/gitlab/config:/etc/gitlab \
    --volume /srv/gitlab/logs:/var/log/gitlab \
    --volume /srv/gitlab/data:/var/opt/gitlab \
    gitlab/gitlab-ce:8.4.4-ce.0
